package com.lib.uvccamera.bean;

import java.util.List;

/**
 * Created Date 2019/3/10.
 *
 * @author liangkun
 * ClassDescription：消息接受类
 */
public class MessageEvent {
    private FaceBean faceBean;
    private List<FaceBean> beans;
    private int requestCode;

    public MessageEvent(int requestCode) {
        this.requestCode = requestCode;
    }


    /***
     * 单人脸
     * @param requestCode
     * @param faceBean
     */
    public MessageEvent(int requestCode, FaceBean faceBean) {
        this.faceBean = faceBean;
        this.requestCode = requestCode;
    }

    /**
     * 多人脸
     *
     * @param beans 【2个】
     */
    public MessageEvent(int requestCode, List<FaceBean> beans) {
        this.requestCode = requestCode;
        this.beans = beans;
    }

    public FaceBean getFaceBean() {
        return faceBean;
    }

    public void setFaceBean(FaceBean faceBean) {
        this.faceBean = faceBean;
    }

    public int getRequestCode() {
        return requestCode;
    }

    public void setRequestCode(int requestCode) {
        this.requestCode = requestCode;
    }

    public List<FaceBean> getBeans() {
        return beans;
    }

    public void setBeans(List<FaceBean> beans) {
        this.beans = beans;
    }
}
